﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

<script type="text/javascript" charset="utf-8" src="../../Scripts/kindeditor/kindeditor.js"></script>

<script type="text/javascript" charset="utf-8" src="../../Scripts/kindeditor/lang/zh_CN.js"></script>

<link type="text/css" href="../../Scripts/kindeditor/themes/default/default.css"
    rel="Stylesheet" />

<script type="text/javascript">

    var editor = null;
    editor = KindEditor.create('#contentqq', {
        allowImageUpload: true,
        resizeType: 0,
        uploadJson: "../../Scripts/kindeditor/upload_json.ashx",
        items: [
                    'undo', 'redo', '|', 'justifyleft', 'justifycenter', 'justifyright',
                    'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', '|',
                    'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
                    'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image',
                    'table', 'hr', '|', 'print']
    });
 
</script>

<textarea id="contentqq" cols="100" rows="8" style="width: 700px; height: 200px;
    visibility: hidden;"></textarea>